Automattic\WooCommerce\Internal\Admin\Suggestions\PaymentExtensionSuggestions B

Total Complexity 77
Dependencies 4
Dependents 5
Total lines 2,748
Lines of code 964
Logical lines of code 130
Comment lines 311
Methods 14
Properties 3

Methods 14

Method Rating Maintainability Complexity Lines of code
get_all_extensions_base_details()
D
13
1 723
with_country_details()
C
37 30 74
get_country_extensions()
A
47 11 34
get_by_plugin_slug()
A
52 8 24
is_merchant_selling_online()
S
56 6 19
is_merchant_selling_offline()
S
57 6 19
get_extension_incentive()
S
58 3 15
sanitize_extension_incentive()
S
63 3 11
get_by_id()
S
63 2 11
is_extension_allowed()
S
71 2 6
get_extension_base_details()
S
69 2 7
standardize_extension_details()
S
59 1 15
init()
S
80 1 3
dismiss_incentive()
S
79 1 3